package top.lingchen.blogapi.service;

import top.lingchen.blogapi.bean.SysUser;
import top.lingchen.blogapi.vo.Result;
import top.lingchen.blogapi.vo.params.LoginParam;

/**
 * @Author 凌宸
 * @create 2021-12-16 下午 5:04
 * @Description
 * @Version 1.0
 */
public interface LoginService {

    /**
     * 登录
     * @param loginParam
     * @return
     */
    Result login(LoginParam loginParam);
    /**
     * 退出登录
     * @param token
     * @return
     */
    Result logout(String token);

    /**
     * 注册
     * @param loginParam
     * @return
     */
    Result register(LoginParam loginParam);
}
